#ifndef _SIGNAL_EVT_HANDLE_H
#define _SIGNAL_EVT_HANDLE_H
#include <signal.h>
#include <unistd.h>
#define signal_helper(n)     SIG##n
#define signal_value(n)      signal_helper(n)
#define value_helper(n)   #n
#define value(n)          value_helper(n)
#define SHUTDOWN_SIGNAL      QUIT
#define TERMINATE_SIGNAL     TERM
#define NOACCEPT_SIGNAL      WINCH
#define RECONFIGURE_SIGNAL   HUP
#define REOPEN_SIGNAL        USR1
#define CHANGEBIN_SIGNAL     USR2
bool init_signals();
#endif
